from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^$', 'views.index'),
    (r'^newgame/$', 'views.newGameEntry'),
    (r'^newgame1/$', 'views.newgame1'),
    (r'^newgame/(?P<gameName>[A-Za-z0-9_]+)/$', 'views.newGame'),
    (r'^play/(?P<gameName>[A-Za-z0-9_]+)/(?P<gameKeyStr>[A-Za-z0-9\-_]+)/$', 'views.play'),
    
    (r'^game/official_mahjong/', include('games.OfficialMahjong.urls')),
)
